package com.example.heartprotectionserver.service;

import com.example.heartprotectionserver.model.User;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 张力文
 * @since 2023-07-12
 */

public interface IUserService extends IService<User> {
    /**
     * 用户登录业务
     * @param name
     * @param password
     * @return
     */
    public Integer login(String name,String password);

    public Integer regist(User user);
}
